Optimal. Leaf size=41 \[ -\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{\pi x}+\frac {b c \log (x)}{\sqrt {\pi }} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {5800, 29}
\begin {gather*} \frac {b c \log (x)}{\sqrt {\pi }}-\frac {\sqrt {\pi c^2 x^2+\pi } \left (a+b \sinh ^{-1}(c x)\right )}{\pi x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 5800
Rubi steps
\begin {align*} \int \frac {a+b \sinh ^{-1}(c x)}{x^2 \sqrt {\pi +c^2 \pi x^2}} \, dx &=-\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{\pi x}+\frac {\left (b c \sqrt {1+c^2 x^2}\right ) \int \frac {1}{x} \, dx}{\sqrt {\pi +c^2 \pi x^2}}\\ &=-\frac {\sqrt {\pi +c^2 \pi x^2} \left (a+b \sinh ^{-1}(c x)\right )}{\pi x}+\frac {b c \sqrt {1+c^2 x^2} \log (x)}{\sqrt {\pi +c^2 \pi x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 42, normalized size = 1.02 \begin {gather*} -\frac {\sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt {\pi } x}+\frac {b c \log (x)}{\sqrt {\pi }} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(83\) vs.
\(2(37)=74\).
time = 2.05, size = 84, normalized size = 2.05
method | result | size |
default | \(-\frac {a \sqrt {\pi \,c^{2} x^{2}+\pi }}{\pi x}-\frac {b c \arcsinh \left (c x \right )}{\sqrt {\pi }}-\frac {b \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}}{\sqrt {\pi }\, x}+\frac {b c \ln \left (\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}-1\right )}{\sqrt {\pi }}\) | \(84\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 101 vs.
\(2 (37) = 74\).
time = 0.31, size = 101, normalized size = 2.46 \begin {gather*} -\frac {{\left (\sqrt {\pi } \left (-1\right )^{2 \, \pi + 2 \, \pi c^{2} x^{2}} \log \left (2 \, \pi c^{2} + \frac {2 \, \pi }{x^{2}}\right ) - \sqrt {\pi } \log \left (x^{2} + \frac {1}{c^{2}}\right )\right )} b c}{2 \, \pi } - \frac {\sqrt {\pi + \pi c^{2} x^{2}} b \operatorname {arsinh}\left (c x\right )}{\pi x} - \frac {\sqrt {\pi + \pi c^{2} x^{2}} a}{\pi x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 132 vs.
\(2 (37) = 74\).
time = 0.43, size = 132, normalized size = 3.22 \begin {gather*} \frac {\sqrt {\pi } b c x \log \left (\frac {\pi + \pi c^{2} x^{6} + \pi c^{2} x^{2} + \pi x^{4} + \sqrt {\pi } \sqrt {\pi + \pi c^{2} x^{2}} \sqrt {c^{2} x^{2} + 1} {\left (x^{4} - 1\right )}}{c^{2} x^{4} + x^{2}}\right ) - 2 \, \sqrt {\pi + \pi c^{2} x^{2}} b \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) - 2 \, \sqrt {\pi + \pi c^{2} x^{2}} a}{2 \, \pi x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a}{x^{2} \sqrt {c^{2} x^{2} + 1}}\, dx + \int \frac {b \operatorname {asinh}{\left (c x \right )}}{x^{2} \sqrt {c^{2} x^{2} + 1}}\, dx}{\sqrt {\pi }} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\mathrm {asinh}\left (c\,x\right )}{x^2\,\sqrt {\Pi \,c^2\,x^2+\Pi }} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________